// 我的页面
import request from '@/api/request';
// 意见反馈
function feedback(data) {
  return request({
    url: '/api/user/feedback',
    method: 'post',
    data
  })
}
//我的老师
function myTeacher(data) {
  return request({
    url: 'api/curriculum/myTeacher',
    method: 'post',
    data
  })
}
//老师二维码
function teacherImage(data) {
  return request({
    url: '/api/curriculum/teacherImage',
    method: 'post',
    data
  })
}
// 系统消息
function system(data) {
  return request({
    url: '/api/set/system',
    method: 'post',
    data
  })
}
// 系统消息详情
function detail(data) {
  return request({
    url: '/api/set/detail',
    method: 'post',
    data
  })
}
// 版本更新
function update(data) {
  return request({
    url: '/api/set/app',
    method: 'post',
    data
  })
}
// 联系我们
function phone(data) {
  return request({
    url: '/api/set/phone',
    method: 'post',
    data
  })
}
// 关于我们
function about(data) {
  return request({
    url: '/api/set/about',
    method: 'post',
    data
  })
}
// 上传文件
function upload(data) {
  return request({
    url: '/api/common/upload',
    method: 'post',
    data
  })
}
//获取用户信息
function userInfo(data) {
  return request({
    url: '/api/user/userInfo',
    method: 'post',
    data
  })
}
//修改用户信息
function profile(data) {
  return request({
    url: '/api/user/profile',
    method: 'post',
    data
  })
}
//修改手机号
function changemobile(data) {
  return request({
    url: '/api/user/changemobile',
    method: 'post',
    data
  })
}
//获取验证码
function send(data) {
  return request({
    url: '/api/sms/send',
    method: 'post',
    data
  })
}
export default {
    feedback,
    system,
    update,
    phone,
    about,
    detail,
	upload,
	profile,
	changemobile,
	myTeacher,
	userInfo,
	teacherImage,
	send
}